package org.proxywars.engine.rts.attributes;

import org.proxywars.engine.rts.IAttribute;

public class Attribute implements IAttribute {

	private final String id;
	private Object value;

	public Attribute(String id) {
		this.id = id;
	}

	public Attribute(String id, Object value) {
		this.id = id;
		this.value = value;
	}
	
	@Override
	public String getID() {
		return id;
	}

	@Override
	public Object getValue() {
		return value;
	}

	@Override
	public void setValue(Object value) {
		this.value = value;
	}
}
